﻿namespace OT.HikiSecureCenterApis.Service.OneCard.Res
{
    public class ResOnline
    {
        /// <summary>
        /// 设备型号
        /// </summary>
        public string deviceType { get; set; }
        /// <summary>
        /// 区域编码
        /// </summary>
        public string regionIndexCode { get; set; }
        /// <summary>
        /// 采集时间
        /// </summary>
        public string collectTime { get; set; }
        /// <summary>
        /// 设备唯一编码
        /// </summary>
        public string deviceIndexCode { get; set; }
        /// <summary>
        /// 端口，门禁读卡器此值默认为0
        /// </summary>
        public int port { get; set; }
        /// <summary>
        /// ip地址，门禁读卡器无此值
        /// </summary>
        public string ip { get; set; }
        /// <summary>
        /// 区域名字
        /// </summary>
        public string regionName { get; set; }
        /// <summary>
        /// 资源唯一编码
        /// </summary>
        public string indexCode { get; set; }
        /// <summary>
        /// 在线状态，0离线，1在线
        /// </summary>
        public int online { get; set; }
        /// <summary>
        /// 设备名称
        /// </summary>
        public string cn { get; set; }
        /// <summary>
        /// 协议类型，
        /// hiksdk_net: 海康私有协议
        /// gb_reg: GB/T28181
        /// ehome_reg: eHome协议
        /// dhsdk_net: 大华私有协议
        /// onvif_net: ONVIF协议
        /// ezviz_net: 萤石协议
        /// cascade: 级联
        /// </summary>
        public string treatyType { get; set; }
        /// <summary>
        /// 厂商
        /// hikvision: 海康
        /// dahua: 大华
        /// </summary>
        public string manufacturer { get; set; }
    }

}
